package org.ltc.alliance.constant;

import com.fasterxml.jackson.annotation.JsonValue;

public enum ClubTypeConst {

    CULTURE_AND_ART(1,"文化艺术类"),
    ACADEMIC_TECHNOLOGY(2,"学术科技类"),
    VOLUNTEER_PUBLIC_WELFARE(3,"志愿公益类"),
    INNOVATION_AND_ENTREPRENEURSHIP(4,"创新创业类"),
    SELF_DISCIPLINE_AND_MUTUAL_AID(5,"自律互助类"),
    SPORTS(6,"运动类"),
    OTHERS(7,"其他");

    private String key;
    private String desc;

    ClubTypeConst(Integer key, String desc) {
        this.desc=desc;
    }

    @JsonValue
    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public String toString(){
        return desc;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}
